﻿using System;

namespace NMA.Domain.Model.Repository
{
    using NMA.Domain.Shared.Repository;
    using NMA.Domain.Shared.Paging;    

    public interface ICategoryRepository : IUniqueObjectRepository<ICategory>
    {
        int CountAllCategory();
        void Remove(Guid id);
        IPagedList<ICategory> All(int pageIndex, int pageSize,
            Func<ICategory, bool> searchCriteria,
            Func<ICategory, object> orderByExpression,
            bool ascending);
    }
}
